<?php
defined("SMARTY_DIR") or die("restricted acess");

function getFaculties()
{	
	$f = array();
	$res = mysql_query("select * from faculties");
	while($row=mysql_fetch_array($res)){
		$f[$row[0]] = $row[1];
	}
	return $f;
}	


?>